|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectopencard.opt.applet.AppletInfo
opencard.opt.emv.mgmt.EMVAppletInfo
The EMVAppletInfo encapsulates the information describing an application which is stored on an EMV'96 card.
It extends the generic AppletInfo class.
opencard.opt.applet.mgmt.AppletInfo| Field Summary | |
protected byte[] |
discrData
Discretionary Data retrieved from an EMV EF_DIR (optional) |
protected static java.lang.String[] |
hexChars
Auxillary string array. |
protected byte[] |
prefName
Preferred name retrieved from an EMV EF_DIR (optional) |
protected byte[] |
prioInd
Priority Index retrieved from an EMV EF_DIR (optional) |
| Fields inherited from class opencard.opt.applet.AppletInfo |
aid, data, domain, label |
| Fields inherited from interface opencard.opt.emv.mgmt.EMVTags |
EMV_EF_DIR, MASTER_FILE, TAG_EMV_ADF_NAME, TAG_EMV_APP_DISCR_DATA, TAG_EMV_APP_LABEL, TAG_EMV_APP_PREF_NAME, TAG_EMV_APP_PRIO_IND, TAG_EMV_APP_TEMPLATE, TAG_EMV_CMD_TO_PERFORM, TAG_EMV_DDF_NAME, TAG_EMV_SFI |
| Constructor Summary | |
protected |
EMVAppletInfo()
Instantiate an EMVAppletInfo. |
|
EMVAppletInfo(AppletID aid,
java.lang.String label)
|
|
EMVAppletInfo(TLV info)
Instantiate an EMVAppletInfo from a TLV object. |
| Method Summary | |
void |
fromEMVTLV(TLV info)
Analyses the given EMV compliant application description TLV and writes the data into the attributes of this class |
byte[] |
getDiscretionaryData()
Get the Discretionary Data. |
byte[] |
getPreferredName()
Get the application preferred name; Tag 0x9F12. |
byte[] |
getPriority()
Get the application priority indicator; Tag 0x87. |
TLV |
toEMVTLV()
Packs the attributes of this application info class into an EMV compliant TLV structure |
java.lang.String |
toString()
Return the applet information as a string. |
| Methods inherited from class opencard.opt.applet.AppletInfo |
getAppletID, getData, getDomain, getLabel, setAppletID, setData, setDomain, setLabel |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected byte[] prefName
protected byte[] prioInd
protected byte[] discrData
protected static final java.lang.String[] hexChars
| Constructor Detail |
protected EMVAppletInfo()
public EMVAppletInfo(AppletID aid,
java.lang.String label)
public EMVAppletInfo(TLV info)
throws InvalidAppletInfoException
| Method Detail |
public byte[] getPreferredName()
public byte[] getPriority()
public byte[] getDiscretionaryData()
public void fromEMVTLV(TLV info)
throws InvalidAppletInfoException
info - description of this application packed in an EMV TLV structure
InvalidAppletInfoExceptionpublic TLV toEMVTLV()
public java.lang.String toString()
AppletInfo
toString in class AppletInfo
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||